<template>
	<DocWrap>
		<DocCodepen>
			<UIBrief>
				华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。
				华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。
			</UIBrief>
			<UIBrief ellipsis="center">
				华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。
				华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。华风夏韵，洛水天依。
			</UIBrief>
		</DocCodepen>
		<DocUse>
			<h3>props</h3>
			<el-table :data="propsData">
				<el-table-column prop="prop" label="属性" width="180" />
				<el-table-column prop="type" label="类型" width="180" />
				<el-table-column prop="exp" label="说明" />
			</el-table>
			<h3>events</h3>
			<el-table :data="eventsData">
				<el-table-column prop="event" label="事件" width="180" />
				<el-table-column prop="args" label="参数" width="180" />
				<el-table-column prop="exp" label="说明" />
			</el-table>
			<h3>slots</h3>
			<el-table :data="slotsData">
				<el-table-column prop="slot" label="插槽" width="180" />
				<el-table-column prop="data" label="数据" width="180" />
				<el-table-column prop="exp" label="说明" />
			</el-table>
		</DocUse>
	</DocWrap>
</template>

<script setup>
	
	import { ref } from 'vue';
	import DocWrap from '../../doc/wrap';
	import DocCodepen from '../../doc/codepen';
	import DocUse from '../../doc/use';
	import UIBrief from '@/ui/brief';
	
	const propsData = [
		{
			prop: 'ellipsis',
			type: 'String(after),可选值after,center',
			exp: '省略符出现位置'
		}
	];
	
	const eventsData = [
		{
			event: 'open',
			exp: '展开'
		}, {
			event: 'close',
			exp: '收起'
		}
	]
	
	const slotsData = [
		{
			slot: 'default',
			exp: '内容'
		}
	]
	
</script>

<style lang="scss" scoped>
</style>